<div class="location_show">
  <div class="location-grid">
    <div v-for="item in allLocation" :key="item.PlotCraftRes_Id">
      <button class="btn-item">
        <div  v-if="item.location_picUrl!==''"><img class="img-set" :src="item.location_picUrl"></div>
        <div v-else>
          <el-icon :size="30" >
            <Picture />
          </el-icon>
        </div>
        <span style="font-size: 10px;">{{item.location_name}}</span>
      </button>
      <div style="display: flex;margin-top: 20px;">
        <el-button type="success" round style="width: 50px;
        height: 30px;float: left;margin-right: 15px;" @click="editLocation(item)">编辑</el-button>
        <el-button type="danger" round style="width: 50px;
        height: 30px;float: left;margin-right: 15px" @click="deleteLocation(item.PlotCraftRes_Id)">删除</el-button>
      </div>
    </div>
    <div v-if="allLocation.length==0">
      <span>地点库暂无节点，请先创建</span>
    </div>

  </div>
</div>